package com.media.themovieworld.player;

import java.util.ArrayList;

import com.media.themovieworld.model.FilmPartModel;
import com.media.themovieworld.model.MovieItemModel;

public class FilmPartManage {

	private static FilmPartManage INSTANCE = null;
	private ArrayList<FilmPartModel> mListFilmPart;
	private MovieItemModel mMovieData;
	
	private FilmPartManage(){
	}
	
	public static FilmPartManage getInstance(){
		if (INSTANCE == null) {
			INSTANCE = new FilmPartManage();
		}
		return INSTANCE;
	}
	
	public void setCurrentFilmPart(ArrayList<FilmPartModel> listFilmPart){
		mListFilmPart = listFilmPart;
	}
	
	public ArrayList<FilmPartModel> getCurrentListFilmPart(){
		return mListFilmPart;
	}
	
	public void setCurrentFilmData(MovieItemModel model){
		mMovieData = model;
	}
	
	public MovieItemModel getCurrentFilmData(){
		return mMovieData;
	}
}
